package com.example.mymatch.dao;

import com.example.mymatch.model.Work;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 编写者：杨滢
 */

@Mapper
public interface IWork {
    //添加打卡信息
    int insertWork(Work work);
    //添加打卡信息
    int updateWork(Work work);
    //删除打卡信息
    int deleteWork(Work work);
    //打卡查询
    List<Work> getAllWork(Work work);
    //查询单条打卡数据
    Work getWork(Work work);
}